from random import randint
import numpy as np
import costFunction
import modelClass

v = np.array([391,444,250,330,246,400,150,266,268,293,471,388,364,493,202,161,410,270,384,486])
w = np.array([55,52,59,24,52,46,45,34,34,59,59,28,57,21,47,66,64,42,22,23])
W = 500


x = np.random.randint(2,size=len(v))

a = modelClass.Model(v,W,w)

c = costFunction.myCost(x,a)

print(c.v)


